
package com.mybatis.generator.core;


public class PrimariKey {
	
	private String columnName;
	
	private String propertyName;
	
	private String jdbcType;
	
	private boolean identity;
	
	public PrimariKey(String columnName, boolean identity) {
		this.columnName = columnName;
		this.identity = identity;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public boolean isIdentity() {
		return identity;
	}

	public void setIdentity(boolean identity) {
		this.identity = identity;
	}

	public String getJdbcType() {
		return jdbcType;
	}

	public void setJdbcType(String jdbcType) {
		this.jdbcType = jdbcType;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}
	
}
